﻿<UserControl x:Class="EasySL.UI.Controls.ExDataGridSample2"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:controls="clr-namespace:EasySL.Controls;assembly=EasySL.Controls"
    >


    <Grid Background="White">
        <StackPanel x:Name="LayoutRoot" Margin="30,10,10,10">
            <controls:ExDataGrid x:Name="dg" GroupProperty="Category" SortProperty="Rate"  AutoGenerateColumns="False" IsShowSummaryRow="False" EnableVerticalScroll="False" Width="auto">
                <controls:ExDataGrid.Columns>
                    <controls:ExDataGridStringColumn Header="Name" BindProperty="Name" EnableDelete="False"/>
                    <controls:ExDataGridStringColumn Header="Category" BindProperty="Category" EnableDelete="False" />
                    <controls:ExDataGridNumberColumn Header="Price" BindProperty="Price" EnableSort="False" ShowOrderNumber="True"/>
                    <controls:ExDataGridLinkColumn Header="Introduce" BindUrl="Url" BindProperty="Introduce"/>
                </controls:ExDataGrid.Columns>
            </controls:ExDataGrid>
        </StackPanel>
    </Grid>

</UserControl>
